package com.paipai.service;

import com.paipai.dao.POrderMapper;
import com.paipai.entity.POrder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderService {
    @Autowired
    POrderMapper pOrderMapper;

    public String insertOrder(POrder order) {
        pOrderMapper.insert(order);
        return "ok";
    }
}
